import {axios as http} from '../base/request.js'

export default {
    // 获取用户信息
    userInfo (params) {
        return http.get('/api/userInfo', params)
    },
    getLoginCode(params){
        return http.get(`/api/login`,{params:params})
    },
    wechatLogin(params){
        return http.get(`/api/wap/wxLogin`,{params:params})
    },
    isLogin(params){
        return http.get(`/api/isLogin`,{params:params})
    }

}

